package cn.itsource.pethome.org.domain;

import cn.itsource.pethome.basic.domain.BaseMain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 商家入驻实体
 */
@Data
public class Shop extends BaseMain {
    /**店铺名字*/
    private String name;
    /**店铺电话*/
    private String tel;
    /**店铺注册时间*/
    //设置时间前台显示格式
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    /**店铺状态   0 待审核  1  审核通过   -1 审核不通过  2 禁用*/
    private int state = 0;
    /**店铺地址*/
    private String address;
    /**店铺logo*/
    private String logo;
    /**店铺用户*/
    private Employee employeeName;
}
